package cn.fourhundredandeighteen.dao;

import cn.fourhundredandeighteen.entity.Teacher;
import cn.fourhundredandeighteen.view.vo.LoginVO;

import java.util.List;

public interface TeacherDao {
    int deleteByPrimaryKey(Long teacherId);

    int insert(Teacher record);

    int insertSelective(Teacher record);

    Teacher selectByPrimaryKey(Long teacherId);

    int updateByPrimaryKeySelective(Teacher record);

    int updateByPrimaryKey(Teacher record);

    String getLogin(LoginVO loginVO);

    List<Teacher> selectByTeacherAll();
}